<?php
/**
 * ===============================================
 * 版权所有 2019-2050 青岛铁锤科技有限公司，并保留所有权利。
 * 网站地址: http://www.huaxianling.com
 * ===============================================
 * Author: Happy dong
 * Created Time: 2019-07-01 11:11
 *
 * Version: 2.0
 */

namespace App\Models;


use Illuminate\Database\Eloquent\Model;

class UserRole extends Model
{
	protected  $table = "user_role";
	protected $fillable = [
		"uid",
		"rid"
	];

	public static $httpMethods = [
		'GET', 'POST', 'PUT', 'DELETE', 'PATCH', 'OPTIONS', 'HEAD',
	];

	/**
	 * Create a new Eloquent model instance.
	 *
	 * @param array $attributes
	 */
//	public function __construct(array $attributes = [])
//	{
//		$connection = config('admin.database.connection') ?: config('database.default');
//
//		$this->setConnection($connection);
//
//		$this->setTable(config('user_role'));
//
//		parent::__construct($attributes);
//	}
}